package com.keshe.springboot_keshe.service;

import com.keshe.springboot_keshe.common.Result;
import com.keshe.springboot_keshe.entity.User;
import com.keshe.springboot_keshe.entity.Zhanghao;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import java.util.List;
import java.util.Map;

public interface UserService {
    Result<Zhanghao> login(Zhanghao zhanghao);
    Result<Page<User>> getUserList(Map<String, Object> params);
    Result<Void> addUser(User user);
    Result<Void> updateUser(User user);
    Result<Void> deleteUser(Integer id);
    Result<Void> batchDeleteUser(List<Integer> ids);
}
